import { createRouter, createWebHashHistory } from 'vue-router'
import type { App } from 'vue'
const router = createRouter({
  history: createWebHashHistory(),
  routes: [
    {
      path: '/',
      component: () => import('../views/ContentEdit/Index.vue')
    },
    {
      path: '/home',
      component: () => import('../views/Home/Home.vue')
    }
  ]
})
export const setupRouter = (app: App) => {
  app.use(router)
}
